package com.jyhs.maven.dao;

import com.jyhs.maven.entity.User;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;

public interface UserDao {
    List<User> getUserList() throws SQLException, ClassNotFoundException, ParseException, IllegalAccessException;

    /***
     * 根据id 查用户
     * @param id
     * @return
     */
    User getUser(Long id) throws SQLException, ClassNotFoundException;


    int deleteUser(@Param("ids") List<Long> ids) throws SQLException, ClassNotFoundException;

}
